
<script type="text/javascript" src="{path}"></script>

<script type="text/javascript">
	$(document).ready(function(){
		$.get('modulo/carrega_login/ctrl.CarregaLogin.php',function(r){
					if(r == "0")
						carregaBusca('modulo/carrega_autenticador/ctrl.CarregaAutenticador.php?jquery=1','telas');
				
		});
		
	});
</script>

<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_" width="100%">
		<tbody><tr><td class="infoBox__">
			<table border="0" cellpadding="2" width="100%">
                <tr>
                    <td width="33%" class="main ">&nbsp;<span style="text-decoration:none;cursor:pointer" onclick="carregaBusca('modulo/carrega_painel/ctrl.CarregaPainel.php?evento=dados','telas')" ><center> <img src="imagens/user.png" /><br />Dados Pessoais</center></span></td>
                    <td width="33%" class="main ">&nbsp;<span style="text-decoration:none;cursor:pointer" onclick="carregaBusca('modulo/carrega_painel/ctrl.CarregaPainel.php?evento=pedidos','telas')" ><center> <img src="imagens/product.png" /><br />Pedidos</center></span></td>
                    <td width="33%" class="main ">&nbsp;<span style="text-decoration:none;cursor:pointer" onclick="carregaBusca('modulo/carrega_painel/ctrl.CarregaPainel.php?evento=desloga','telas')" ><center> <img src="imagens/sign.png" width="16"  height="16" /><br />Logoff</center></span></td>
                </tr>
		    </table>
		</td></tr></tbody>
</table>
<br/>
<!-- START BLOCK : DADOS_PESSOAIS -->

<table width="100%">
<tr><td class="content_wrapper1_td">	
	<table cellpadding="0" cellspacing="0" border="0">
      <tbody>
      
		
		</tbody></table><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tbody><tr>
            <td class="main indent_2"><b>Dados Pessoais</b></td>
           <td class="inputRequirement" align="right">&nbsp;</td>
          </tr>
        </tbody></table>
				
	<form name="form_email" id="form_email">
 	<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_">
		<tbody><tr>
		  <td class="infoBox__">
			<table border="0" cellspacing="4" cellpadding="2">
              <tbody>
              <tr>
                <td class="main b_width"><strong> Nome:</strong></td>
                <td class="main width2_100"><input name="firstname" type="text" disabled="disabled" value="{nome}" >&nbsp;</td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Data de Nascimento:</strong></td>
                <td class="main width2_100"><input name="dob" type="text" disabled="disabled" value="{dt}">&nbsp;</td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Email:</strong></td>
                <td class="main width2_100"><input name="email_address" id="email_address" type="text" value="{email}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
              	<td colspan="2" align="left">
              	  <div align="right">
              	  <span style="text-decoration:none;color:#000;cursor:pointer" onclick="envia_dados_email('form_email')" ><img src="images/Ok-icon.png"  /><br /> <b>Alterar</b> </span>
            	 
                  </div>  </td>
              </tr>
            </tbody></table>

</td></tr>
	</tbody></table>		
</form>
	
<div style="padding:0px 0px 0px 0px;"><img src="./AAAAAAAAAAAAAAAAAAAAA_files/spacer.gif" border="0" alt="" width="1" height="1"></div>
    <table cellpadding="0" cellspacing="0" border="0">
	  <tbody><tr>
        <td class="main indent_2"><b>Endere&ccedil;o</b></td>
      </tr>
	</tbody></table>
				
<form name="form_end" id="form_end">
 	<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_">
		<tbody><tr><td class="infoBox__">
			<table border="0" cellspacing="4" cellpadding="2">
              <tbody><tr>
                <td class="main b_width"><strong>Rua/Av:</strong></td>
                <td class="main width2_100"><input name="street_address" type="text" value="{rua}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Numero:</strong></td>
                <td class="main width2_100"><input name="nrc" type="text" value="{nr}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Bairro:</strong></td>
                <td class="main width2_100"><input name="suburb" type="text" value="{bairro}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>CEP:</strong></td>
                <td class="main width2_100"><input name="postcode" type="text" value="{cep}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Cidade:</strong></td>
                <td class="main width2_100"><input name="city" type="text" value="{cidade}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Comp:</strong></td>
                <td class="main width2_100"><input name="comp" type="text" id="comp" value="{comp}" />                  <span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>UF:</strong></td>
                <td class="main width2_100">
<input name="state" type="text" value="{uf}" maxlength="2">&nbsp;<span class="inputRequirement">*                </span></td>
              </tr>
              <tr>
              	<td colspan="2" align="left">
              	  <div align="right">
              	  <span style="text-decoration:none;color:#000;cursor:pointer" onclick="envia_dados_endereco('form_end') "><img src="images/Ok-icon.png" /><br /> <b>Alterar</b> </span>
            	 
                  </div>  </td>
              </tr>
            </tbody></table>
				
</td></tr>
	</tbody></table>
</form>
<div style="padding:0px 0px 0px 0px;"><img src="./AAAAAAAAAAAAAAAAAAAAA_files/spacer.gif" border="0" alt="" width="1" height="1"></div>
	<table cellpadding="0" cellspacing="0" border="0">
      <tbody><tr>
        <td class="main indent_2"><b>Contato</b></td>
      </tr>
	</tbody></table>
					
<form name="form_tel" id="form_tel">
 	<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_">
		<tbody><tr><td class="infoBox__">
			<table border="0" cellspacing="4" cellpadding="2">
              <tbody><tr>
                <td class="main b_width"><strong>Residencial:</strong></td>
                <td class="main width2_100"><input name="telephone" type="text" value="{resi}">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              <tr>
                <td class="main b_width"><strong>Celular:</strong></td>
                <td class="main width2_100"><input name="fax" type="text" value="{cel}">&nbsp;</td>
              </tr>
               <tr>
              	<td colspan="2" align="left">
              	  <div align="right">
              	  <span style="text-decoration:none;color:#000;cursor:pointer" onclick="envia_dados_tel('form_tel')"><img src="images/Ok-icon.png" /><br /> <b>Alterar</b> </span>
            	 
                  </div>  </td>
              </tr>
            </tbody></table>
				
</td></tr>
	</tbody></table>
</form>
<div style="padding:0px 0px 0px 0px;"><img src="./AAAAAAAAAAAAAAAAAAAAA_files/spacer.gif" border="0" alt="" width="1" height="1"></div>
	<table cellpadding="0" cellspacing="0" border="0">
      <tbody><tr>
        <td class="main indent_2"><b>Acesso</b></td>
      </tr>
	</tbody></table>
					
<form id="form_pwd" name="form_pwd" >

 	<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_">
		<tbody><tr><td class="infoBox__">
			<table border="0" cellspacing="4" cellpadding="2">
              <tbody>
               <tr>
                <td class="main b_width"><strong>Login:</strong></td>
                <td class="main width2_100"><input name="login" type="text" value="{login}" maxlength="40" disabled="disabled" >&nbsp;</td>
              </tr>
              
              <tr>
                <td class="main b_width"><strong>Senha:</strong></td>
                <td class="main width2_100"><input name="password" type="password" value="{senha}" maxlength="40">&nbsp;<span class="inputRequirement">*</span></td>
              </tr>
              
               <tr>
              	<td colspan="2" align="left">
              	  <div align="right">
              	  <span style="text-decoration:none;color:#000;cursor:pointer" onclick="envia_dados_pwd('form_pwd')"><img src="images/Ok-icon.png" /><br /> <b>Alterar</b> </span>
            	 
                  </div>  </td>
              </tr>
              
              <tr>
                <td height="20" class="main b_width" colspan="2"><strong><span id="error" class="inputRequirement"></span></strong></td>
                
              </tr>
              
            </tbody></table>
				
</td></tr>
	</tbody></table>
</form>
<div style="padding:0px 0px 0px 0px;"><img src="./AAAAAAAAAAAAAAAAAAAAA_files/spacer.gif" border="0" alt="" width="1" height="1"></div>				

</td></tr>
</table>

<!-- END BLOCK : DADOS_PESSOAIS -->


<!-- START BLOCK : PEDIDOS -->

<table width="100%">
<tr><td class="content_wrapper1_td">	
	<table cellpadding="0" cellspacing="0" border="0">
      <tbody>
      
		
		</tbody></table><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tbody><tr>
            <td class="main indent_2"><b>Pedidos</b></td>
           <td class="inputRequirement" align="right">&nbsp;</td>
          </tr>
        </tbody>
 </table>

<form name="form_email" id="form_email">
 	<table cellpadding="0" cellspacing="0" border="0" align="center" class="infoBox_">
		<tbody><tr>
		  <td class="infoBox__">
			<table border="0" cellspacing="4" cellpadding="2">
              <tbody>
              <tr>
              	 <td class="main ">Numero Pedido</td>
                 <td class="main ">Total</td>
                 <td class="main ">Pagamento</td>
                 <td class="main ">Status</td>
                  <td class="main ">Data do Pedido</td>
              </tr>
              
              <!-- START BLOCK : PEDIDOS_ITENS -->
              	<tr onclick="seleciona_pedido({nr})" style="cursor:pointer" >
              	 <td class="main ">{nr}</td>
                 <td class="main ">{total}</td>
                 <td class="main ">{pagamento}</td>
                 <td class="main ">{status}</td>
                 <td class="main ">{data}</td>
               </tr>
              <!-- END BLOCK : PEDIDOS_ITENS -->
              </tbody>
            </table>

         </td>
             </tr>
	</tbody>
</table>		
</form>

<!-- END BLOCK : PEDIDOS -->